/**
 * Created by codeczx on 2018/3/19.
 */
public class Test {

    public static void main(String[] args) {
        QueueBuffer buffer = new QueueBuffer();

        new Thread(new Producer(buffer)).start();
        new Thread(new Consumer(buffer)).start();
    }
}
